package com.maisuiit.factory.schemes02.service.impl;

import com.maisuiit.factory.schemes01.entity.DiscountResult;
import com.maisuiit.factory.schemes02.entity.AwardInfo;
import com.maisuiit.factory.schemes02.entity.ResponseResult;
import com.maisuiit.factory.schemes02.service.IFreeGoods;

/**
 * 模拟打折券服务
 * @author: zhangcc
 * @date: 2024/02/20
 */
public class DiscountServiceImpl implements IFreeGoods {

    public ResponseResult sendFreeGoods(AwardInfo awardInfo) {
        System.out.println("向用户发放打折券一张: " + awardInfo.getUid() + " , " + awardInfo.getAwardNumber());
        return new ResponseResult("200","发放打折券成功",null);
    }
}
